package com.ruoyi.project.module.errorcodeCache.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 错误代码缓存表 api_errorcode_cache
 * 
 * @author ruoyi
 * @date 2018-11-02
 */
public class ErrorcodeCache extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	private String searchText;


	/** ID */
	private Integer apiErrorcodeCacheId;
	/** 错误代码ID */
	private Integer apiErrorcodeId;
	/** 错误代码组 */
	private Integer errorgroup;
	/** 错误代码编号 */
	private Integer errorcode;
	/** 错误代码10进制 */
	private Integer codeBase10;
	/** 错误代码62进制 */
	private String codeBase62;
	/** 项目层级 */
	private String projectTree;
	/** 前端提示 */
	private String description;

	private Date sourceUpdateTime;

	public Date getSourceUpdateTime() {
		return sourceUpdateTime;
	}

	public void setSourceUpdateTime(Date sourceUpdateTime) {
		this.sourceUpdateTime = sourceUpdateTime;
	}

	public String getCodeBase62() {
		return codeBase62;
	}

	public void setCodeBase62(String codeBase62) {
		this.codeBase62 = codeBase62;
	}

	public void setApiErrorcodeCacheId(Integer apiErrorcodeCacheId)
	{
		this.apiErrorcodeCacheId = apiErrorcodeCacheId;
	}

	public Integer getApiErrorcodeCacheId() 
	{
		return apiErrorcodeCacheId;
	}
	public void setApiErrorcodeId(Integer apiErrorcodeId) 
	{
		this.apiErrorcodeId = apiErrorcodeId;
	}

	public Integer getApiErrorcodeId() 
	{
		return apiErrorcodeId;
	}
	public void setErrorgroup(Integer errorgroup) 
	{
		this.errorgroup = errorgroup;
	}

	public Integer getErrorgroup() 
	{
		return errorgroup;
	}
	public void setErrorcode(Integer errorcode) 
	{
		this.errorcode = errorcode;
	}

	public Integer getErrorcode() 
	{
		return errorcode;
	}
	public void setCodeBase10(Integer codeBase10) 
	{
		this.codeBase10 = codeBase10;
	}

	public Integer getCodeBase10() 
	{
		return codeBase10;
	}
	public void setProjectTree(String projectTree)
	{
		this.projectTree = projectTree;
	}

	public String getProjectTree() 
	{
		return projectTree;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apiErrorcodeCacheId", getApiErrorcodeCacheId())
            .append("apiErrorcodeId", getApiErrorcodeId())
            .append("errorgroup", getErrorgroup())
            .append("errorcode", getErrorcode())
            .append("codeBase10", getCodeBase10())
            .append("codeBase52", getCodeBase62())
            .append("projectTree", getProjectTree())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

	public String getSearchText() {
		return searchText;
	}

	public void setSearchText(String searchText) {
		this.searchText = searchText;
	}
}
